import { getRequest, postRequest } from '@/lib/axios';
import { CUSTOMERSERVICELIST, CUSTOMERSERVICEADD, CUSTOMERSERVICEUPDATE, CUSTOMERSERVICEDEL,USERFEEDBACKLIST } from '@/config/api-constant/moby'

// 新增客服
export const customerServiceAddApi = (param) => {
    return postRequest(CUSTOMERSERVICEADD, param)
}

// 编辑客服
export const customerServiceUpdateApi = (param) => {
    return postRequest(CUSTOMERSERVICEUPDATE, param)
}
// 删除客服
export const customerServiceDelApi = (param) => {
    return postRequest(CUSTOMERSERVICEDEL, param)
}

// 获取客服列表

export const customerServiceListApi = (param) => {
    return getRequest(CUSTOMERSERVICELIST, param)
}


// 获取用户反馈列表
export const userFeedbackList = (param) => {
    return getRequest(USERFEEDBACKLIST, param)
}
